load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
    name = "go_default_test",
    srcs = [
        "gsfs_test.go",
        "s3fs_test.go",
    ],
    data = [
        "//util/pkg/vfs/tests:mock_gcp_credentials",  # keep
    ],
    deps = [
        "//cloudmock/gce:go_default_library",
        "//upup/pkg/fi/cloudup/awsup:go_default_library",
        "//upup/pkg/fi/cloudup/terraform:go_default_library",
        "//util/pkg/vfs:go_default_library",
        "//vendor/github.com/stretchr/testify/assert:go_default_library",
        "//vendor/google.golang.org/api/storage/v1:go_default_library",
    ],
)

filegroup(
    name = "mock_gcp_credentials",
    srcs = ["mock_gcp_credentials.json"],
    visibility = ["//visibility:public"],
)
